package cn.jhz.learn.blog.service.core.open;

import java.util.List;
import java.util.Optional;
import java.util.Set;

import cn.jhz.learn.blog.po.photo.BlogPhoto;
import cn.jhz.learn.blog.po.BlogEntityLabel;


public interface LabelService {
	
	Optional<List<BlogEntityLabel>> batchAddArticleLabels(Integer articleId, Set<String> labelSet);
	
	Optional<List<BlogEntityLabel>> batchAddPhotosLabels(List<BlogPhoto> photoIdList, Set<String> labelSet);
	
	Optional<List<BlogEntityLabel>> batchModifyArticleLabels(Integer articleId, Set<String> labelSet);
	
	Optional<List<BlogEntityLabel>> batchModifyPhotosLabels(Set<Integer> photoIdSet, Set<String> labelSet);

}
